Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint multichain-testing #10312

Merged
merged 6 commits into from
Dec 3, 2024
Merged

lint multichain-testing #10312

merged 6 commits into from
Dec 3, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented Oct 22, 2024

incidental

Description

#10305 used bypass:integration because it was just a change to linting, which should run before integration tests.

Unfortunately, that broke master because multichain-testing uses the same tsconfig and isn't run until integration.

Then I noticed its lint doesn't include TypeScript and had many errors.

This adds tsc to its yarn lint and fixes everything needed to get it passing.

It still doesn't bring linting of multichain-testing earlier than the Multichain E2E Tests workflow. So I still wouldn't have noticed the type import failure under bypass:integration. I don't think solving that is really worth the effort at this point.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

none

Testing Considerations

CI

Upgrade Considerations

n/a

@turadg turadg requested a review from a team as a code owner October 22, 2024 19:09
Copy link
Member

@0xpatrickdev 0xpatrickdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming CI is happy

multichain-testing/package.json Outdated Show resolved Hide resolved
"lint": "yarn lint:eslint",
"lint:eslint": "eslint .",
"lint:types": "tsc --noEmit",
"lint": "yarn tsc && yarn eslint .",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 at one point, i don't think this was possible due to type errors from dependencies

@turadg turadg added the automerge:rebase Automatically rebase updates, then merge label Oct 22, 2024
@turadg turadg force-pushed the ta/lint-multichain branch from 73c43fb to 7d28066 Compare October 22, 2024 19:26
Copy link

cloudflare-workers-and-pages bot commented Oct 22, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: a62f80c
Status: ✅  Deploy successful!
Preview URL: https://6967acdf.agoric-sdk.pages.dev
Branch Preview URL: https://ta-lint-multichain.agoric-sdk.pages.dev

View logs

@turadg turadg force-pushed the ta/lint-multichain branch 2 times, most recently from 4385b85 to f711d5f Compare October 23, 2024 18:45
@turadg turadg force-pushed the ta/lint-multichain branch 3 times, most recently from 7852746 to a30b8d1 Compare November 14, 2024 21:32
@turadg turadg force-pushed the ta/lint-multichain branch from a30b8d1 to a62f80c Compare December 2, 2024 22:04
@mergify mergify bot merged commit ef82fbf into master Dec 3, 2024
81 checks passed
@mergify mergify bot deleted the ta/lint-multichain branch December 3, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants